/**
 * Copyright (C), 2023-2033
 */
package com.goaly.gpt.model;

import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Singular;

/**
 * Xfs ChatGPT响应
 *
 * @author: lys
 * @date: 2023/6/26 14:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class XfsGptResponse implements Serializable {

    private static final long serialVersionUID = 5162857696213271162L;

    /**
     * 返回ID
     */
    private String id;

    private String object;

    /**
     * GPT模型
     */
    private String model;

    /**
     * GPT使用情况
     */
    private XfsGptUsage usage;

    /**
     * 生成的答案
     */
    @Singular
    private List<XfsGptChoice> choices;
}
